﻿using System.Collections.Generic;

namespace VisionCloud.Domain.DtoModel.Applet.ResponseDto
{
    public class CityListDto
    {
        /// <summary>
        /// 按首字母分组的城市列表
        /// </summary>
        public Dictionary<string, List<CityCenter>> CityList { get; set; }

        /// <summary>
        /// 热门城市
        /// </summary>
        public List<CityCenter> HotCitys { get; set; } = new List<CityCenter> { new CityCenter { Name = "全国", Center = "" } };
    }

    public class CityCenter
    {
        /// <summary>
        /// 城市名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 中心坐标
        /// </summary>
        public string Center { get; set; }
    }
}